package com.itheima.pojo;

import java.util.*;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2020-08-05 10:30
 * @description
 */
public class Student {
    //属性 全全代表了 string int double char short long...
    private Integer id;
    private String name;
    private Integer age;

    private String[] hobbies1;
    private Set hobbies2;
    private List hobbies3;

    private Map parent;

    private Properties sh;

    public Map getParent() {
        return parent;
    }

    public void setParent(Map parent) {
        this.parent = parent;
    }

    public Properties getSh() {
        return sh;
    }

    public void setSh(Properties sh) {
        this.sh = sh;
    }

    public String[] getHobbies1() {
        return hobbies1;
    }

    public void setHobbies1(String[] hobbies1) {
        this.hobbies1 = hobbies1;
    }

    public Set getHobbies2() {
        return hobbies2;
    }

    public void setHobbies2(Set hobbies2) {
        this.hobbies2 = hobbies2;
    }

    public List getHobbies3() {
        return hobbies3;
    }

    public void setHobbies3(List hobbies3) {
        this.hobbies3 = hobbies3;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", hobbies1=" + Arrays.toString(hobbies1) +
                ", hobbies2=" + hobbies2 +
                ", hobbies3=" + hobbies3 +
                ", parent=" + parent +
                ", sh=" + sh +
                '}';
    }
}
